-
Notifications
You must be signed in to change notification settings - Fork 27
add min/maximum(abs) #196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add min/maximum(abs) #196
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #196 +/- ##
==========================================
- Coverage 99.11% 96.65% -2.46%
==========================================
Files 6 6
Lines 225 299 +74
==========================================
+ Hits 223 289 +66
- Misses 2 10 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just added a comment to improve the test coverage. Other changes look great to me!
Co-authored-by: Yuto Horikawa <[email protected]>
|
bump I guess... |
|
anybody?.. |
|
If you want someone to merge this then make sure all the tests are passing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late review. I found a edge case.
julia> minimum(abs, 1..2)
1
julia> minimum(abs, 1..1) # This should return 1
ERROR: ArgumentError: cannot determine minimum(abs, 1 .. 1)
Stacktrace:
[1] minimum(::typeof(abs), I::ClosedInterval{Int64})
@ IntervalSets ~/.julia/dev/IntervalSets/src/IntervalSets.jl:355
[2] top-level scope
@ REPL[11]:1|
probably makes sense to define these elsewhere, there's more useful functions than |
No description provided.